//
/***********************************************************
             File name:      main.c
             Author:         Bitat (陆叁柒)
             Email :         Bitat@qq.com
             Gitee :         https://gitee.com/bitat
             CSDN  :         https://blog.csdn.net/bitat 
             History:        2023/2/8
************************************************************/

#include <stdio.h>

int main()
{
    int i = 0;
    for(i = 10000; i <= 99999; i++)
    {
        if((i/10000)*(i%10000) + (i/1000)*(i%1000) + (i/100)*(i%100) + (i/10)*(i%10) == i)
        {
            printf("%d ",i);
        }
    }
    printf("\n");
    return 0;
}
